package rpc.server.netty;


import rpc.common.annotation.ServiceScan;

@ServiceScan("rpc.services.impl")
public class TestNettyServer {
    public static void main(String[] args) {
        NettyServer server = new NettyServer("127.0.0.1", 9999);

        //注册服务
        //HelloService helloService = new HelloServiceImpl();
        //server.publishService(helloService, HelloService.class);
        server.start();
    }

}
